#include <iostream>
using namespace std;
class Complex
	{
  private:
		double real;
		double imag;
  public:
		Complex();                          
		Complex(double re,double im);   
		double getReal();		             
		double getImag();
 	  void setReal(double real);      		  
		void setImag(double imag);
		Complex operator + (Complex c);          
		void operator++();
	friend ostream& operator<<(ostream& cout,Complex B);
	};
class vector
	{
	private:
		Complex b[100];
		int nrpct;
	public:
		vector(int n);
		int getNrPct();
		void setNrPct(int m);
		Complex suma();
		void incrementare();
		friend ostream& operator<<(ostream& cout,vector B);
	};


                                     
